package main

import "fmt"

/*type Q interface {
	A(int)
}*/

type W func(args int)

func (w W) A(args int){
	w(args)
}

func Test(a int){
	fmt.Println(a)
}

func TestW(w W){
	fmt.Println(w)
}

func main(){

	TestW(Test)

	a1:=W(Test)

	a1(2)

	a1.A(1)
}